﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SX.BaseService.Repository.Entity
{
    ///<summary>
    ///消息通知
    ///</summary>
    [SugarTable("SysMessage")]
    public partial class SysMessageEntity
    {
           public SysMessageEntity(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string Id {get;set;}

           /// <summary>
           /// Desc:消息类型(0通知 1私信 2业务处理)
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Type {get;set;}

           /// <summary>
           /// Desc:消息内容
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Content {get;set;}

           /// <summary>
           /// Desc:收件人Id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ToUserId {get;set;}

           /// <summary>
           /// Desc:是否有效
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Enable {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateTime {get;set;}

           /// <summary>
           /// Desc:创建人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Creator {get;set;}

           /// <summary>
           /// Desc:是否点击后已读
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? ClickRead {get;set;}

           /// <summary>
           /// Desc:创建人姓名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CreatorName {get;set;}

    }
}
